// TryCapVideoDlg.h : header file
//

#pragma once
#include "CaptureVideo.h"


// CTryCapVideoDlg dialog
class CTryCapVideoDlg : public CDialog
{
// Construction
public:
	CTryCapVideoDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_TRYCAPVIDEO_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButtonStart();
	afx_msg void OnBnClickedButtonStop();
public:
	CCaptureVideo m_capVdo;
	afx_msg void OnBnClickedButtonGrab();
	afx_msg void OnBnClickedButtonConfigure();
	afx_msg void OnBnClickedButtonDisplay();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	long m_FrameWidth;
	long m_FrameHeight;
	long m_FrameRate;
};
